//
//  GYFootCell.m
//  GoodLuck
//
//  Created by 郭为勇 on 2018/3/16.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYFootCell.h"

@interface GYFootCell ()
@property (weak, nonatomic) IBOutlet UIImageView *goodImageView;
@property (weak, nonatomic) IBOutlet UILabel *goodNameLbale;
@property (weak, nonatomic) IBOutlet UILabel *goodPriceLable;

@end
@implementation GYFootCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(GYFoot *)model {
    _model = model;
    
    [self.goodImageView sd_setImageWithURL:[NSURL URLWithString:model.goods_image_url] placeholderImage:[UIImage imageNamed:@"4"]];
    self.goodNameLbale.text = model.goods_name;
    self.goodPriceLable.text = model.goods_marketprice;
}
@end
